home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / gfx / aga / mv1440sup72.lha / mv1440sup72 / install+delete / install_mv1440sup72 < prev    next >
Text File  |  1997-07-28  |  3KB  |  114 lines

  1. ; install mv1440 by Jürgen Einrauch 26. Juli 1997      
  2. failat 21
  3.  
  4. echo "  *n*e[1;32m  ___________________________________________________"
  5. echo "  *e[43m                                                   *e[0m"
  6. echo "  *e[0;28;43m               Install mv1440sup72          *e[1m       *e[0m"
  7. echo "  *e[1;4;43m                                                   *e[0m*n"
  8.  
  9. echo "   *e[32mWarning. Read all information files first !*e[0m"
  10. echo noline "*n   Install mv1440sup72 now ? (Ja/Nein yes/no): "
  11. set > nil: Inp ?
  12. IF $Inp eq "ja"
  13.   skip start
  14. endif
  15. IF $Inp eq "j"
  16.   skip start
  17. endif
  18. IF $Inp eq "y"
  19.   skip start
  20. endif
  21. IF $Inp eq "yes"
  22.   skip start
  23. endif
  24. echo noline "*n   Installation aborted."
  25. EndCLI >NIL:
  26. quit
  27.  
  28. lab start
  29. IF NOT EXISTS SYS:mv1440sup72
  30. skip warning
  31. else
  32. IF NOT EXISTS SYS:mv1440sup72/monitors
  33. skip warning
  34. else
  35. IF NOT EXISTS SYS:mv1440sup72/sys
  36. skip warning
  37. else
  38. skip warning2
  39. endif
  40.  
  41. lab warning
  42. echo "*n   You   m u s t   copy the file <mv1440sup72> to the"
  43. echo "   WB partition of your harddisc! Installation aborted."
  44. WAIT 5 secs
  45. EndCLI >NIL:
  46. quit
  47.  
  48. lab warning2
  49. IF EXISTS SYS:monitorfiles_old
  50. echo "*n   <mv1440sup72> still installed."
  51. echo "   Installation aborted."
  52. wait 3 secs
  53. else
  54. skip start2
  55. wait 4 secs
  56. endif
  57. EndCLI >NIL:
  58. quit
  59.  
  60. lab start2 
  61. IF NOT EXISTS SYS:devs/monitors
  62. skip break
  63. else
  64. endif
  65. IF NOT EXISTS sys:prefs/env-archive/sys/overscan.prefs
  66. skip break
  67. endif
  68. IF NOT EXISTS sys:prefs/env-archive/sys/screenmode.prefs
  69. skip break
  70. endif
  71. IF NOT EXISTS SYS:storage/monitors
  72. skip break
  73. else
  74. skip start3
  75. endif
  76.  
  77. lab start3
  78. echo "*n   Your old monitor configuration will be saved now"
  79. echo "   in the new Workbench directory <monitorfiles_old>." 
  80. wait 1 secs
  81.  
  82. makedir sys:monitorfiles_old
  83. copy >nil:  from sys:devs/monitors to sys:monitorfiles_old/monitors
  84. copy >nil: from sys:storage/monitors to sys:devs/monitors
  85. makedir >nil: sys:monitorfiles_old/sys
  86. copy >nil: from sys:prefs/env-archive/sys/overscan.prefs to sys:monitorfiles_old/sys
  87. copy >nil: from sys:prefs/env-archive/sys/screenmode.prefs to sys:monitorfiles_old/sys
  88.  
  89. delete >nil: sys:devs/monitors/euro36
  90. delete >nil: sys:devs/monitors/a2024
  91. delete >nil: sys:devs/monitors/#?(.info)
  92. delete >nil: sys:prefs/env-archive/sys/overscan.prefs
  93. delete >nil: sys:prefs/env-archive/sys/screenmode.prefs
  94.  
  95. copy >nil: from sys:mv1440sup72/monitors to sys:devs/monitors
  96. copy >nil: from sys:mv1440sup72/sys to sys:prefs/env-archive/sys
  97. skip end
  98.  
  99. lab break
  100. echo "*n   The install program doesn`t accepts the configuration"
  101. echo "   of your system. Install all files manually!"
  102. WAIT 6 secs
  103. EndCLI >NIL:
  104. quit
  105.  
  106. lab end
  107. wait 3 secs
  108. echo "*n   Installation finished."
  109. echo "   Reset your computer to enable the new configuration."
  110. echo "   New adjust and fix all windows."
  111. wait 6 secs
  112. EndCLI >NIL:
  113. quit
  114.